package com.myapp.data.global;

import com.myapp.container.DataContainer;
import com.myapp.data.define.DataConfigContainer;
import com.myapp.data.define.DataConfigManager;
import com.myapp.db.config.define.DBConfigContainer;
import com.myapp.db.config.define.DBConfigManager;
import com.myapp.db.config.define.IDRecord;
import com.myapp.db.conn.ConnectionFactory;
import com.myapp.entity.proxy.EntityProxy;
import com.myapp.msg.define.MsgContainer;
import com.myapp.msg.define.MsgManager;
import com.myapp.user.UserContianer;

public class Instances {

	public static EntityProxy getEntityProxy() {
		return EntityProxy.getInstance();
	}

	public static MsgManager getMsgManager() {
		return MsgManager.getInstance();
	}

	public static MsgContainer getMsgContainer() {
		return MsgContainer.getInstance();
	}

	public static AppConfigBean getAppConfigBean() {
		return AppConfig.getInstance();
	}

	public static DataConfigManager getDataConfigManager() {
		return DataConfigManager.getInstance();
	}

	public static DataContainer getDataContainer() {
		return DataContainer.getInstance();
	}

	public static DataConfigContainer getDataConfigContainer() {
		return DataConfigContainer.getInstance();
	}

	public static UserContianer getUserContianer() {
		return UserContianer.getInstance();
	}

	public static DBConfigContainer getDBConfigContainer() {
		return DBConfigContainer.getInstance();
	}

	public static DBConfigManager getDBConfigManager() {
		return DBConfigManager.getInstance();
	}

	public static ConnectionFactory getConnectionFactory() {
		return ConnectionFactory.getInstance();
	}

	public static IDRecord getIDRecord() {
		return IDRecord.getInstance();
	}
}
